<? global $lg, $FullUrl; ?>

<div class="cleared reset-box"></div>
<div class="art-box art-sheet">
  <div class="art-box-body art-sheet-body">
    <div class="art-layout-wrapper">
      <div class="art-content-layout">
        <div class="art-content-layout-row">
          <div class="art-layout-cell art-content">
            <div class="art-box art-post">
              <div class="art-box-body art-post-body">
                <div class="art-post-inner art-article">
                  <h2 class="art-postheader"><?=REGISTER_MEMBER?></h2>
                  <div class="art-postcontent">
                    <div class="art-content-layout-wrapper layout-item-0">
                      <div class="art-content-layout layout-item-1">
                        <div class="art-content-layout-row">
                          <div id="frame_center">
                            <div class="register">
                              <form action="<?=$FullUrl?>/index.php?do=member&act=regis&lg=<?=$lg?>" method="post">
                                <div class="left-formabcdef">
                                  <div class="reg_top">
                                    <p class="pelement">
                                      <?=LABEL_NAME?>
                                    </p>
                                    <p>
                                      <input tabindex = 1 class="txt_name" type="text" name="name_reg" id = "name_reg" value="<? echo isset($_SESSION['form_name']) ? $_SESSION['form_name'] : ''; unset($_SESSION['form_name']);?>"/>
                                    </p>
                                    <p class="pelement">
                                      <?=LABEL_EMAIL?>
                                    </p>
                                    <p>
                                      <input tabindex = 3 class="txt_email" type="text" name="email_reg" id="email_reg" value="<? echo isset($_SESSION['form_email']) ? $_SESSION['form_email'] : '';?>"/>
                                    </p>
                                    <p class="pelement">
                                      <?=LABEL_PASSWORD?>
                                    </p>
                                    <p>
                                      <input tabindex = 5 class="txt_password" type="password" name="password_reg" id="password_reg" value="<? echo isset($_SESSION['form_password']) ? $_SESSION['form_password'] : ''; unset($_SESSION['form_password']);?>"/>
                                    </p>
                                    <p class="pelement">
                                      <?=LABEL_PASSWORD_RETYPE?>
                                    </p>
                                    <p>
                                      <input tabindex = 6 class="txt_password" type="password" name="password2_reg" id="password2_reg" value="<? echo isset($_SESSION['form_password']) ? $_SESSION['form_password'] : ''; unset($_SESSION['form_password']);?>" />
                                    </p>
                                    <p class="pelement">
                                      <?=LABEL_PHONE?>
                                    </p>
                                    <p>
                                      <input tabindex = 7 class="txt_phone" type="text" name="phone_reg" id="phone_reg" value="<? echo isset($_SESSION['form_phone']) ? $_SESSION['form_phone'] : ''; unset($_SESSION['form_phone']);?>"/>
                                    </p>
                                    <!--<p class="pelement"><?=LABEL_ADDRESS?></p>
                  <p>
                    <input tabindex = 2 class="txt_name" type="text" name="address_reg" id = "address_reg" value="<? echo isset($_SESSION['form_address']) ? $_SESSION['form_address'] : ''; unset($_SESSION['form_address']);?>"/>
                  </p>--> 
                                  </div>
                                </div>
                                <div class="captcha"> 
                                  <script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=<?=PUBLIC_KEY_GOOGLE?>"></script>
                                  <noscript>
                                  <iframe src="http://www.google.com/recaptcha/api/noscript?k=<?=PUBLIC_KEY_GOOGLE?>" height="100" width="100" frameborder="0"></iframe>
                                  <br/>
                                  <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
                                  <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
                                  </noscript>
                                </div>
                                <div class="btn_reg_form">
                                  <input class="button" type="submit" value="<?=BTN_REGISTER_SUBMIT?>" onclick="return CheckAllMemberReg();"/>
                                  <input class="button" type="reset" value="<?=BTN_REGISTER_RETRY?>"/>
                                </div>
                              </form>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="cleared"></div>
                </div>
                <div class="cleared"></div>
              </div>
            </div>
            <div class="cleared"></div>
          </div>
        </div>
      </div>
    </div>
    <div class="cleared"></div>
    <div class="cleared"></div>
  </div>
</div>
<?=isset($_SESSION['mess'])?AlertMessage($_SESSION['mess']):''; unset($_SESSION['mess']);?>
